[Contents] [Index] [Help] [Browse <] [Browse >]
dopus read [delete] [pos <x/y/w/h>] [<handle>] [hex|ansi|smart] <filename>
dopus read <handle> quit

The  read  command is provided to allow you greater control over the Opus
text viewer. It basically allows you to open a viewer and view multiple
files in it one by one before closing it again.

The  pos  keyword will allow you to open the viewer at a specific
position on the screen.

When you do not specify a  handle  a new viewer is opened and its viewer
handle is returned in  RESULT . You use the viewer handle in much the same
way as you would a lister handle, you can either get it to load new files or
 quit .

Normally the viewer will default to ASCII mode to view files, you can specify
another mode to use by using one of the keywords:  hex ,  ansi 
or  smart .

If you give the  delete  keyword the file will be deleted once the viewer
has been closed. This is useful for displaying temporary files.

For example,
        + dopus read ram:file1.txt
        > 121839492 
        + "dopus read pos 10/10/400/200 ram:file2.txt"
        > 121839492 
        + dopus read 121839492 ram:file2.txt
        > 121839492 
        + dopus read hex C:Info
        > 121839492 
        + dopus read 121839492 quit
        > 0 


Converted on 04 Nov 1998 with RexxDoesAmigaGuide2HTML 2.2 by Michael Ranner.